package com.zzl.bonds.ticket.dto.feign;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 合同
 *
 * @author gull
 * @date 2022-03-25 15:09:41
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class ContractGeneratorDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotBlank(message = "票据id不能为空")
    @ApidocModelProperty(description = "票据id")
    private String ticketId;
    @NotBlank(message = "合同类别不能为空")
    @ApidocModelProperty(description = "合同类别 开单复核：KDFH 转单复核:ZDFH 融资协议签署:RZXYQS")
    private String ticketType;
    @NotNull(message = "电子合同对象不能为空")
    @ApidocModelProperty(description = "电子合同对象")
    private List<ContractAddDto> contractAddDtoList;
    @NotNull(message = "企业临时账号对象集合不能为空")
    @ApidocModelProperty(description = "企业临时账号对象集合")
    private List<Integer> enterpriseUserIdList;



}
